Skip to content

Bump json from 2.13.2 to 2.14.0#3400

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/json-2.14.0
Closed

Bump json from 2.13.2 to 2.14.0#3400
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/json-2.14.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 18, 2025

Copy link
Copy Markdown
Contributor

Bumps json from 2.13.2 to 2.14.0.

Release notes

Sourced from json's releases.

v2.14.0

What's Changed

  • Add new allow_duplicate_key generator options. By default a warning is now emitted when a duplicated key is encountered. In json 3.0 an error will be raised.
    >> Warning[:deprecated] = true
    >> puts JSON.generate({ foo: 1, "foo" => 2 })
    (irb):2: warning: detected duplicate key "foo" in {foo: 1, "foo" => 2}.
    This will raise an error in json 3.0 unless enabled via `allow_duplicate_key: true`
    {"foo":1,"foo":2}
    >> JSON.generate({ foo: 1, "foo" => 2 }, allow_duplicate_key: false)
    detected duplicate key "foo" in {foo: 1, "foo" => 2} (JSON::GeneratorError)
  • Fix JSON.generate strict: true mode to also restrict hash keys.
  • Fix JSON::Coder to also invoke block for hash keys that aren't strings nor symbols.
  • Fix JSON.unsafe_load usage with proc
  • Fix the parser to more consistently reject invalid UTF-16 surogate pairs.

Full Changelog: ruby/json@v2.13.2...v2.14.0

Changelog

Sourced from json's changelog.

Changes

Unreleased

  • Add new allow_duplicate_key generator options. By default a warning is now emitted when a duplicated key is encountered. In json 3.0 an error will be raised.
    >> Warning[:deprecated] = true
    >> puts JSON.generate({ foo: 1, "foo" => 2 })
    (irb):2: warning: detected duplicate key "foo" in {foo: 1, "foo" => 2}.
    This will raise an error in json 3.0 unless enabled via `allow_duplicate_key: true`
    {"foo":1,"foo":2}
    >> JSON.generate({ foo: 1, "foo" => 2 }, allow_duplicate_key: false)
    detected duplicate key "foo" in {foo: 1, "foo" => 2} (JSON::GeneratorError)
  • Fix JSON.generate strict: true mode to also restrict hash keys.
  • Fix JSON::Coder to also invoke block for hash keys that aren't strings nor symbols.
  • Fix JSON.unsafe_load usage with proc
  • Fix the parser to more consistently reject invalid UTF-16 surogate pairs.
Commits
  • 55552ca Release 2.14.0
  • d334dbf Merge pull request #856 from robinetmiller/add-branch-coverage
  • 08b9eb0 Only enable test coverage when running the test suite standalone
  • 6bded94 Add branch test coverage when available. Force track all files to prevent imp...
  • db89486 Regenerate the Java parser
  • ddffd05 Merge pull request #858 from byroot/validate-surogate
  • 5855f4f parser: Reject invalid surogate pairs more consistently.
  • 618ab68 Merge pull request #857 from etiennebarrie/better-handle-missing-ostruct
  • 6f6a4cd Better handle missing ostruct
  • 1d0aee8 Merge pull request #855 from byroot/fix-coverage
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests for Ruby compatibility labels Sep 18, 2025
@dependabot dependabot Bot temporarily deployed to Integrate Pull Request September 18, 2025 13:03 Inactive
@github-actions github-actions Bot enabled auto-merge September 18, 2025 13:03
Bumps [json](https://github.com/ruby/json) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/json-2.14.0 branch from bc7283c to 356677d Compare September 18, 2025 13:06
@dependabot dependabot Bot had a problem deploying to Integrate Pull Request September 18, 2025 13:06 Failure
@dependabot @github

dependabot Bot commented on behalf of github Sep 19, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #3401.

@dependabot dependabot Bot closed this Sep 19, 2025
auto-merge was automatically disabled September 19, 2025 13:02

Pull request was closed

@dependabot dependabot Bot deleted the dependabot/bundler/json-2.14.0 branch September 19, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests for Ruby compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants